package week15;

public class TestMyThread {
    public static void main(String[] args) {
        int num1=5;
        int num2=7;
        JieChengThread jieChengThread = new JieChengThread(num1);
        PingfangThread pingfangThread = new PingfangThread(num2);
        jieChengThread.start();
        pingfangThread.start();
        try {
            jieChengThread.join();
            pingfangThread.run();
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
